Day 2
Linux Basics I (File System, Navigation, Basic Commands)
Introduction to Linux
- Why Linux for Cybersecurity?
- Open-source and customizable.
- Extensive tool support (e.g., Nmap, Wireshark).
Linux File System Structure:
- /bin: Essential command binaries.
- /etc: Configuration files.
- /home: User directories.
- /var: Variable data like logs.
Basic Commands:
- File Navigation:
- List files:
ls - Change directory:
cd /path/to/directory
- List files:
- File Operations:
- Create file:
touch filename.txt - Copy file:
cp source.txt destination.txt - Move file:
mv source.txt destination_folder/ - Delete file:
rm filename.txt
- Create file:
- View File Contents:
- Display contents:
cat file.txt - Display paginated view:
less file.txt
- Display contents: